<?php

namespace App\Support;

class PointsType
{
    public const POINTS_ADD = 1;
    public const POINTS_MINUS = 2;

    public const POINTS_TYPE_REG = 1;  // 会员注册
    public const POINTS_TYPE_LOGIN = 2;  // 会员登录
    public const POINTS_TYPE_EVALUATE_PRODUCT = 3; // 商品评论
    public const POINTS_TYPE_EVALUATE_STORE = 6; // 店铺评论
    public const POINTS_TYPE_CONSUME = 4; // 购买商品
    public const POINTS_TYPE_OTHER = 5; // 管理员操作
    public const POINTS_TYPE_EXCHANGE_PRODUCT = 7; // 积分换购商品
    public const POINTS_TYPE_EXCHANGE_VOUCHER = 8; // 积分兑换优惠券
    public const POINTS_TYPE_EXCHANGE_SP = 9; // 积分兑换
    public const POINTS_TYPE_TRANSFER_MINUS = 10; // 积分转出
    public const POINTS_TYPE_TRANSFER_ADD = 11; // 积分转入
    public const POINTS_TYPE_CONSUME_RETRUN = 12; // 积分退还
    public const POINTS_TYPE_UP_SP = 13; // 升级服务商
    public const POINTS_TYPE_UP_SELLER = 14; // 升级商家
    public const POINTS_TYPE_FX_FANS = 15; // 发展粉丝赠送积分
    public const POINTS_TYPE_DEDUCTION = 21; // 购买商品抵扣积分

    public const POINTS_TYPE_EXCHANGE_MONEY_ADD = 16; // 余额换积分
    public const POINTS_TYPE_EXCHANGE_MONEY_MINUS = 17; // 积分换余额
}
